export const MyHoldingCol = [
    {
        title: '币种',
        dataIndex: 'currency',
        key: 'currency',
    }, {
        title: '当前持仓',
        dataIndex: 'currentHolding',
        key: 'currentHolding',
    }, {
        title: '冻结',
        dataIndex: 'freeze',
        key: 'freeze',
    }, {
        title: '未实现收益',
        dataIndex: 'unrealizedProfit',
        key: 'unrealizedProfit',
    }, {
        title: '已实现收益',
        dataIndex: 'realizedProfit',
        key: 'realizedProfit',
    }, {
        title: '总收益',
        dataIndex: 'totalProfit',
        key: 'totalProfit',
    }, {
        title: '总买入',
        dataIndex: 'totalBuy',
        key: 'totalBuy',
    }, {
        title: '总卖出',
        dataIndex: 'totalSell',
        key: 'totalSell',
    }, {
        title: '持仓占比',
        dataIndex: 'holdingRatio',
        key: 'holdingRatio',
    }, {
        title: '买入均价',
        dataIndex: 'buyPrice',
        key: 'buyPrice',
    }, {
        title: '操作',
        dataIndex: 'action',
        key: 'action'
    }
]

export const historyHoldingCol = [
    {
        title: '币种',
        dataIndex: 'currency',
        key: 'currency',
    }, {
        title: '最大持仓数量',
        dataIndex: 'maxQuantity',
        key: 'maxQuantity',
    }, {
        title: '总收益',
        dataIndex: 'totalProfit',
        key: 'totalProfit',
    }, {
        title: '总买入',
        dataIndex: 'totalBuy',
        key: 'totalBuy',
    }, {
        title: '总卖出',
        dataIndex: 'totalSell',
        key: 'totalSell',
    }, {
        title: '买入均价',
        dataIndex: 'buyPrice',
        key: 'buyPrice',
    }, {
        title: '清仓时间',
        dataIndex: 'clearanceTime',
        key: 'clearanceTime',
    }
]

export const currentCommCol = [
    {
        title: '日期',
        dataIndex: 'date',
        key: 'date',
    }, {
        title: '方向',
        dataIndex: 'direction',
        key: 'direction',
    }, {
        title: '市场',
        dataIndex: 'market',
        key: 'market',
    }, {
        title: '所属公链',
        dataIndex: 'BelongChain',
        key: 'BelongChain',
    }, {
        title: '合约地址',
        dataIndex: 'contractAddress',
        key: 'contractAddress',
    }, {
        title: '价格',
        dataIndex: 'price',
        key: 'price',
    }, {
        title: '委托量/已完成',
        dataIndex: 'commQuantity',
        key: 'commQuantity',
    }, {
        title: '总额/已完成',
        dataIndex: 'total',
        key: 'total',
    }, {
        title: '操作',
        dataIndex: 'action',
        key: 'action',
    }
]

export const commHistoryCol = [
    {
        title: '日期',
        dataIndex: 'date',
        key: 'date',
    }, {
        title: '方向',
        dataIndex: 'direction',
        key: 'direction',
    }, {
        title: '市场',
        dataIndex: 'market',
        key: 'market',
    }, {
        title: '所属公链',
        dataIndex: 'BelongChain',
        key: 'BelongChain',
    }, {
        title: '合约地址',
        dataIndex: 'contractAddress',
        key: 'contractAddress',
    }, {
        title: '成交均价',
        dataIndex: 'averagePrice',
        key: 'averagePrice',
    }, {
        title: '价格',
        dataIndex: 'price',
        key: 'price',
    }, {
        title: '委托量/已完成',
        dataIndex: 'commQuantity',
        key: 'commQuantity',
    }, {
        title: '成交额',
        dataIndex: 'transactionVolume',
        key: 'transactionVolume',
    }, {
        title: '状态',
        dataIndex: 'status',
        key: 'status',
    }
]

export const transactionRecordCol = [
    {
        title: '日期',
        dataIndex: 'date',
        key: 'date',
    }, {
        title: '方向',
        dataIndex: 'direction',
        key: 'direction',
    }, {
        title: '市场',
        dataIndex: 'market',
        key: 'market',
    }, {
        title: '所属公链',
        dataIndex: 'BelongChain',
        key: 'BelongChain',
    }, {
        title: '合约地址',
        dataIndex: 'contractAddress',
        key: 'contractAddress',
    }, {
        title: '成交均价',
        dataIndex: 'averagePrice',
        key: 'averagePrice',
    }, {
        title: '成交量',
        dataIndex: 'turnover',
        key: 'turnover',
    }, {
        title: '成交额',
        dataIndex: 'transactionVolume',
        key: 'transactionVolume',
    }, {
        title: '角色',
        dataIndex: 'role',
        key: 'role',
    }, {
        title: '手续费',
        dataIndex: 'commission',
        key: 'commission',
    }
]
